package com.avic.rong.bean.product;

import java.util.List;

/**
 * Creater: Created by wangyz on 2019/8/14.
 * Email: 936804097@qq.com
 */
public class CommentBean {


    /**
     * comments : [{"commentId":null,"userId":null,"commentType":null,"idValue":null,"email":null,"userName":"YUR","content":"PCPCPCPCP","isAnonymous":null,"commentRank":null,"addTime":1555311042000,"ipAddress":null,"status":1,"parentId":null,"timeBegin":null,"timeEnd":null,"logo":"http://image.rongrong.huazhi365.com//group1/M00/00/20/CgERFlzjV0uAPkJwAABj7PymHks770.jpg","publicTimeBegin":null,"publicTimeEnd":null}]
     * count : 1
     */

    private int pageNo;
    private int pageSize;
    private int count;
    private List<CommentsBean> comments;

    public int getCount() {
        return count;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<CommentsBean> getComments() {
        return comments;
    }

    public void setComments(List<CommentsBean> comments) {
        this.comments = comments;
    }

    public static class CommentsBean {
        /**
         * commentId : null
         * userId : null
         * commentType : null
         * idValue : null
         * email : null
         * userName : YUR
         * content : PCPCPCPCP
         * isAnonymous : null
         * commentRank : null
         * addTime : 1555311042000
         * ipAddress : null
         * status : 1
         * parentId : null
         * timeBegin : null
         * timeEnd : null
         * logo : http://image.rongrong.huazhi365.com//group1/M00/00/20/CgERFlzjV0uAPkJwAABj7PymHks770.jpg
         * publicTimeBegin : null
         * publicTimeEnd : null
         */

        private Long commentId;
        private Integer userId;
        private Integer commentType;
        private Integer idValue;
        private String email;
        private String userName;
        private String content;
        private Integer isAnonymous;
        private Integer commentRank;
        private long addTime;
        private String ipAddress;
        private int status;
        private String parentId;
        private Long timeBegin;
        private Long timeEnd;
        private String logo;
        private Long publicTimeBegin;
        private Long publicTimeEnd;

        public Long getCommentId() {
            return commentId;
        }

        public void setCommentId(Long commentId) {
            this.commentId = commentId;
        }

        public Integer getUserId() {
            return userId;
        }

        public void setUserId(Integer userId) {
            this.userId = userId;
        }

        public Integer getCommentType() {
            return commentType;
        }

        public void setCommentType(Integer commentType) {
            this.commentType = commentType;
        }

        public Integer getIdValue() {
            return idValue;
        }

        public void setIdValue(Integer idValue) {
            this.idValue = idValue;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public Integer getIsAnonymous() {
            return isAnonymous;
        }

        public void setIsAnonymous(Integer isAnonymous) {
            this.isAnonymous = isAnonymous;
        }

        public Integer getCommentRank() {
            return commentRank;
        }

        public void setCommentRank(Integer commentRank) {
            this.commentRank = commentRank;
        }

        public long getAddTime() {
            return addTime;
        }

        public void setAddTime(long addTime) {
            this.addTime = addTime;
        }

        public String getIpAddress() {
            return ipAddress;
        }

        public void setIpAddress(String ipAddress) {
            this.ipAddress = ipAddress;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public Long getTimeBegin() {
            return timeBegin;
        }

        public void setTimeBegin(Long timeBegin) {
            this.timeBegin = timeBegin;
        }

        public Long getTimeEnd() {
            return timeEnd;
        }

        public void setTimeEnd(Long timeEnd) {
            this.timeEnd = timeEnd;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public Long getPublicTimeBegin() {
            return publicTimeBegin;
        }

        public void setPublicTimeBegin(Long publicTimeBegin) {
            this.publicTimeBegin = publicTimeBegin;
        }

        public Long getPublicTimeEnd() {
            return publicTimeEnd;
        }

        public void setPublicTimeEnd(Long publicTimeEnd) {
            this.publicTimeEnd = publicTimeEnd;
        }
    }
}
